using System;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore.StockManagement
{
    /// <summary>
    /// 库存预警表实体类
    /// </summary>
    public class KuCunYuJing : AuditedAggregateRoot<int>
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int SerialNumber { get; set; }

        /// <summary>
        /// 货品编号
        /// </summary>
        public string GoodsCode { get; set; } = string.Empty;

        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodsName { get; set; } = string.Empty;

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; } = string.Empty;

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;

        /// <summary>
        /// 货品类型
        /// </summary>
        public string GoodsType { get; set; } = string.Empty;

        /// <summary>
        /// 当前库存
        /// </summary>
        public int CurrentStock { get; set; }

        /// <summary>
        /// 库存下限
        /// </summary>
        public int StockLowerLimit { get; set; }

        /// <summary>
        /// 库存上限
        /// </summary>
        public int StockUpperLimit { get; set; }

        /// <summary>
        /// 低于下限（可根据实际用 bool 等类型，这里先字符串示例）
        /// </summary>
        public string BelowLowerLimit { get; set; } = string.Empty;

        /// <summary>
        /// 高于上限（可根据实际用 bool 等类型，这里先字符串示例）
        /// </summary>
        public string AboveUpperLimit { get; set; } = string.Empty;
    }
} 